package site.marqstree.kotlin.usercenter.data.bean

import site.marqstree.kotlin.library.base.data.bean.user.UserInfo


/*
 * 项目名: KotlinMall
 * 包名: site.marqstree.kotlin.usercenter.data.protocol
 * 文件名: EditUserReq
 * 创建者: marqstree
 * 创建时间: 2020/2/22 16:50
 * 描述: TODO
 */
/*
    修改用户资料请求体
 */
data class EditUserBean(
    val id: String,
    val icon: String,
    val name: String,
    val gender: String,
    val mobile: String,
    val sign: String
){
    fun convert2UserInfo(): UserInfo {
        return UserInfo(id,
                        icon,
                        name,
                        gender,
                        mobile,
                        sign)
    }
}
